//
//  NSDictionary+JPNetworkingMethods.m
//  JPWords
//
//  Created by 梁淑婷 on 2024/4/20.
//

#import "NSDictionary+JPNetworkingMethods.h"

@implementation NSDictionary (JPNetworkingMethods)

- (NSString *)JP_jsonString
{
    NSData *jsonData = [NSJSONSerialization dataWithJSONObject:self options:NSJSONWritingPrettyPrinted error:NULL];
    return [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
}

@end
